import random
import string

# 挑选一个随机数
# print(random.choice("0123456789"))

# print(string.ascii_lowercase) # 打印所有的小写字母
# print(string.ascii_uppercase) # 打印所有的大写字母
# print(string.digits) # 打印所有的数字
# allChar = string.ascii_lowercase + string.ascii_uppercase + string.digits
# random_char = random.choice(allChar)
# print("random_char: ", random_char)

s = ""
for i in range(10):
    allChar = string.ascii_lowercase + string.ascii_uppercase + string.digits
    random_char = random.choice(allChar)
    s += random_char
print(s)
